package com.swiftride.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swiftride.pojo.domain.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author wy
 * @since 2024-07-31
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据loginId查询权限信息
     *
     * @param loginId 登录id
     */
    List<String> selectPermissionByLoginId(Long loginId);
}
